Optimal. Leaf size=167 \[ \frac {45 x \sqrt {1-a^2 x^2}}{256 a^3}+\frac {3 x^3 \sqrt {1-a^2 x^2}}{128 a}-\frac {9 x^2 \text {ArcCos}(a x)}{32 a^2}-\frac {3}{32} x^4 \text {ArcCos}(a x)-\frac {9 x \sqrt {1-a^2 x^2} \text {ArcCos}(a x)^2}{32 a^3}-\frac {3 x^3 \sqrt {1-a^2 x^2} \text {ArcCos}(a x)^2}{16 a}-\frac {3 \text {ArcCos}(a x)^3}{32 a^4}+\frac {1}{4} x^4 \text {ArcCos}(a x)^3-\frac {45 \text {ArcSin}(a x)}{256 a^4} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.20, antiderivative size = 167, normalized size of antiderivative = 1.00, number of steps
used = 11, number of rules used = 5, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {4724, 4796,
4738, 327, 222} \begin {gather*} -\frac {3 \text {ArcCos}(a x)^3}{32 a^4}-\frac {45 \text {ArcSin}(a x)}{256 a^4}-\frac {9 x^2 \text {ArcCos}(a x)}{32 a^2}-\frac {3 x^3 \sqrt {1-a^2 x^2} \text {ArcCos}(a x)^2}{16 a}+\frac {3 x^3 \sqrt {1-a^2 x^2}}{128 a}-\frac {9 x \sqrt {1-a^2 x^2} \text {ArcCos}(a x)^2}{32 a^3}+\frac {45 x \sqrt {1-a^2 x^2}}{256 a^3}+\frac {1}{4} x^4 \text {ArcCos}(a x)^3-\frac {3}{32} x^4 \text {ArcCos}(a x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 222
Rule 327
Rule 4724
Rule 4738
Rule 4796
Rubi steps
\begin {align*} \int x^3 \cos ^{-1}(a x)^3 \, dx &=\frac {1}{4} x^4 \cos ^{-1}(a x)^3+\frac {1}{4} (3 a) \int \frac {x^4 \cos ^{-1}(a x)^2}{\sqrt {1-a^2 x^2}} \, dx\\ &=-\frac {3 x^3 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^2}{16 a}+\frac {1}{4} x^4 \cos ^{-1}(a x)^3-\frac {3}{8} \int x^3 \cos ^{-1}(a x) \, dx+\frac {9 \int \frac {x^2 \cos ^{-1}(a x)^2}{\sqrt {1-a^2 x^2}} \, dx}{16 a}\\ &=-\frac {3}{32} x^4 \cos ^{-1}(a x)-\frac {9 x \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^2}{32 a^3}-\frac {3 x^3 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^2}{16 a}+\frac {1}{4} x^4 \cos ^{-1}(a x)^3+\frac {9 \int \frac {\cos ^{-1}(a x)^2}{\sqrt {1-a^2 x^2}} \, dx}{32 a^3}-\frac {9 \int x \cos ^{-1}(a x) \, dx}{16 a^2}-\frac {1}{32} (3 a) \int \frac {x^4}{\sqrt {1-a^2 x^2}} \, dx\\ &=\frac {3 x^3 \sqrt {1-a^2 x^2}}{128 a}-\frac {9 x^2 \cos ^{-1}(a x)}{32 a^2}-\frac {3}{32} x^4 \cos ^{-1}(a x)-\frac {9 x \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^2}{32 a^3}-\frac {3 x^3 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^2}{16 a}-\frac {3 \cos ^{-1}(a x)^3}{32 a^4}+\frac {1}{4} x^4 \cos ^{-1}(a x)^3-\frac {9 \int \frac {x^2}{\sqrt {1-a^2 x^2}} \, dx}{128 a}-\frac {9 \int \frac {x^2}{\sqrt {1-a^2 x^2}} \, dx}{32 a}\\ &=\frac {45 x \sqrt {1-a^2 x^2}}{256 a^3}+\frac {3 x^3 \sqrt {1-a^2 x^2}}{128 a}-\frac {9 x^2 \cos ^{-1}(a x)}{32 a^2}-\frac {3}{32} x^4 \cos ^{-1}(a x)-\frac {9 x \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^2}{32 a^3}-\frac {3 x^3 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^2}{16 a}-\frac {3 \cos ^{-1}(a x)^3}{32 a^4}+\frac {1}{4} x^4 \cos ^{-1}(a x)^3-\frac {9 \int \frac {1}{\sqrt {1-a^2 x^2}} \, dx}{256 a^3}-\frac {9 \int \frac {1}{\sqrt {1-a^2 x^2}} \, dx}{64 a^3}\\ &=\frac {45 x \sqrt {1-a^2 x^2}}{256 a^3}+\frac {3 x^3 \sqrt {1-a^2 x^2}}{128 a}-\frac {9 x^2 \cos ^{-1}(a x)}{32 a^2}-\frac {3}{32} x^4 \cos ^{-1}(a x)-\frac {9 x \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^2}{32 a^3}-\frac {3 x^3 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^2}{16 a}-\frac {3 \cos ^{-1}(a x)^3}{32 a^4}+\frac {1}{4} x^4 \cos ^{-1}(a x)^3-\frac {45 \sin ^{-1}(a x)}{256 a^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 115, normalized size = 0.69 \begin {gather*} \frac {3 a x \sqrt {1-a^2 x^2} \left (15+2 a^2 x^2\right )-24 a^2 x^2 \left (3+a^2 x^2\right ) \text {ArcCos}(a x)-24 a x \sqrt {1-a^2 x^2} \left (3+2 a^2 x^2\right ) \text {ArcCos}(a x)^2+8 \left (-3+8 a^4 x^4\right ) \text {ArcCos}(a x)^3-45 \text {ArcSin}(a x)}{256 a^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.07, size = 151, normalized size = 0.90
method | result | size |
derivativedivides | \(\frac {\frac {a^{4} x^{4} \arccos \left (a x \right )^{3}}{4}-\frac {3 \arccos \left (a x \right )^{2} \left (2 a^{3} x^{3} \sqrt {-a^{2} x^{2}+1}+3 a x \sqrt {-a^{2} x^{2}+1}+3 \arccos \left (a x \right )\right )}{32}-\frac {3 a^{4} x^{4} \arccos \left (a x \right )}{32}+\frac {3 a x \left (2 a^{2} x^{2}+3\right ) \sqrt {-a^{2} x^{2}+1}}{256}+\frac {45 \arccos \left (a x \right )}{256}-\frac {9 a^{2} x^{2} \arccos \left (a x \right )}{32}+\frac {9 a x \sqrt {-a^{2} x^{2}+1}}{64}+\frac {3 \arccos \left (a x \right )^{3}}{16}}{a^{4}}\) | \(151\) |
default | \(\frac {\frac {a^{4} x^{4} \arccos \left (a x \right )^{3}}{4}-\frac {3 \arccos \left (a x \right )^{2} \left (2 a^{3} x^{3} \sqrt {-a^{2} x^{2}+1}+3 a x \sqrt {-a^{2} x^{2}+1}+3 \arccos \left (a x \right )\right )}{32}-\frac {3 a^{4} x^{4} \arccos \left (a x \right )}{32}+\frac {3 a x \left (2 a^{2} x^{2}+3\right ) \sqrt {-a^{2} x^{2}+1}}{256}+\frac {45 \arccos \left (a x \right )}{256}-\frac {9 a^{2} x^{2} \arccos \left (a x \right )}{32}+\frac {9 a x \sqrt {-a^{2} x^{2}+1}}{64}+\frac {3 \arccos \left (a x \right )^{3}}{16}}{a^{4}}\) | \(151\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.21, size = 96, normalized size = 0.57 \begin {gather*} \frac {8 \, {\left (8 \, a^{4} x^{4} - 3\right )} \arccos \left (a x\right )^{3} - 3 \, {\left (8 \, a^{4} x^{4} + 24 \, a^{2} x^{2} - 15\right )} \arccos \left (a x\right ) + 3 \, {\left (2 \, a^{3} x^{3} - 8 \, {\left (2 \, a^{3} x^{3} + 3 \, a x\right )} \arccos \left (a x\right )^{2} + 15 \, a x\right )} \sqrt {-a^{2} x^{2} + 1}}{256 \, a^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.51, size = 167, normalized size = 1.00 \begin {gather*} \begin {cases} \frac {x^{4} \operatorname {acos}^{3}{\left (a x \right )}}{4} - \frac {3 x^{4} \operatorname {acos}{\left (a x \right )}}{32} - \frac {3 x^{3} \sqrt {- a^{2} x^{2} + 1} \operatorname {acos}^{2}{\left (a x \right )}}{16 a} + \frac {3 x^{3} \sqrt {- a^{2} x^{2} + 1}}{128 a} - \frac {9 x^{2} \operatorname {acos}{\left (a x \right )}}{32 a^{2}} - \frac {9 x \sqrt {- a^{2} x^{2} + 1} \operatorname {acos}^{2}{\left (a x \right )}}{32 a^{3}} + \frac {45 x \sqrt {- a^{2} x^{2} + 1}}{256 a^{3}} - \frac {3 \operatorname {acos}^{3}{\left (a x \right )}}{32 a^{4}} + \frac {45 \operatorname {acos}{\left (a x \right )}}{256 a^{4}} & \text {for}\: a \neq 0 \\\frac {\pi ^{3} x^{4}}{32} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.44, size = 141, normalized size = 0.84 \begin {gather*} \frac {1}{4} \, x^{4} \arccos \left (a x\right )^{3} - \frac {3}{32} \, x^{4} \arccos \left (a x\right ) - \frac {3 \, \sqrt {-a^{2} x^{2} + 1} x^{3} \arccos \left (a x\right )^{2}}{16 \, a} + \frac {3 \, \sqrt {-a^{2} x^{2} + 1} x^{3}}{128 \, a} - \frac {9 \, x^{2} \arccos \left (a x\right )}{32 \, a^{2}} - \frac {9 \, \sqrt {-a^{2} x^{2} + 1} x \arccos \left (a x\right )^{2}}{32 \, a^{3}} - \frac {3 \, \arccos \left (a x\right )^{3}}{32 \, a^{4}} + \frac {45 \, \sqrt {-a^{2} x^{2} + 1} x}{256 \, a^{3}} + \frac {45 \, \arccos \left (a x\right )}{256 \, a^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x^3\,{\mathrm {acos}\left (a\,x\right )}^3 \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________